package com.luyuan.crm.member.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.luyuan.crm.member.model.Member;
import com.luyuan.crm.member.model.OnlineMember;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

@DomainService
public interface OnlineMemberService {

    Page pagedQuery(CriteriaTemplate criteria, int page, int pageSize, List<Order> orders);

    Page pagedQueryOnline(CriteriaTemplate criteria, int page, int pageSize, List<Order> orders);

    void onlineMember(Member member);

    void offlineMember(Member member);

    List<OnlineMember> getAllMember();
}
